﻿@model PagedList<Resource>
<table class="table" >
    <thead>
        <tr> 
            <th style="width:80px">
                名称
            </th>
            <th style="width:80px">
                模块
            </th>
            <th style="width:80px">
                Controller
            </th>
            <th style="width:80px">
                Action
            </th>
            <th>是否导航栏</th>
            <th style="width:120px">操作</th>
             
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>  
                <td>@item.Name
                </td>
                <td>@item.Module.Name
                </td>
                <td>@item.Controller
                </td>
                <td>@item.Action
                </td>
                <td>@Html.DisplayFor(m=>item.Navigator)
                </td>
                <td>@Html.EditLink(item.Id) @Html.ShortcutLink("删除", "Delete", new { item.Id})</td> 
            </tr>
        }
    </tbody>
</table>
@Html.CommonPager(Model,ViewData["SearchModel"])